package thread;

public class ThreadInfoDemo {
    public static void main(String[] args) {
        Thread t1 = new Thread("秀明装修") {
            public void run() {
                System.out.println(this.getName());
                System.out.println(this.getId());
                System.out.println(this.getPriority());
                System.out.println(this.isAlive());
                System.out.println(this.isDaemon());
                System.out.println(this.isInterrupted());
            }
        };

        System.out.println(123);
        System.out.println(t1.isAlive());
    }
}
